package com.neuedu.security.mapper;

import com.neuedu.security.model.Category;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CategoryMapper {
    int addCategory(Category category);

    int delCategory(int id);

    int delCategories(@Param("ids") int[] ids);

    int updateCategory(Category category);

    List<Category> getCategory(@Param("keyWords") String keyWords);
}
